package com.group7.mall.convert;

import com.group7.mall.dto.StoreAuditFormPreviewDto;
import com.group7.mall.entity.TbMessageAuditForm;
import com.group7.mall.entity.TbSeller;
import com.group7.mall.entity.TbStoreAuditForm;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuditConvert {

    AuditConvert INSTANCE = Mappers.getMapper(AuditConvert.class);

    List<StoreAuditFormPreviewDto> convertTbStoreAuditFormListToStoreAuditFormPreviewDtoList(List<TbStoreAuditForm> tbAuditFormList);

    TbSeller convertTbAuditStoreFormToTbSeller(TbStoreAuditForm tbStoreAuditForm);

    TbSeller convertTbMessageAuditFormToTbSeller(TbMessageAuditForm tbMessageAuditForm);
}
